package com.it.hanzhongtravelv1.repository;

import com.it.hanzhongtravelv1.entity.TravelGuide;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface TravelGuideRepository extends JpaRepository<TravelGuide, Long> {
    List<TravelGuide> findByCategory(String category);
    List<TravelGuide> findByTitleContaining(String title);
} 